package H;

/**
 * 医生
 */
public class Doctor extends Game implements Treat{
    public Doctor(){}
    public Doctor(String name,int level){
        super(name,level);
    }

    @Override
    public void treat() {
        System.out.println("我是一个等级为"+this.getLevel()+"名为"+this.getName()+"的医生，我能够治疗");
    }
}
